Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Setting Points and Vectors


Q3Vector3D_Set

You can use the Q3Vector3D_Set function to set the scalar components of a three-dimensional vector.

TQ3Vector3D *Q3Vector3D_Set (
TQ3Vector3D *vector3D, 
float x, 
float y, 
float z);
vector3D
A three-dimensional vector.
x
The x scalar component of the vector.
y
The y scalar component of the vector.
z
The z scalar component of the vector.
DESCRIPTION
The Q3Vector3D_Set function returns, as its function result and in the vector3D parameter, the three-dimensional vector whose scalar components are specified by the x, y, and z parameters.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996